//
//  HHContentView.h
//  Flower
//
//  Created by 花花 on 2016/12/5.
//  Copyright © 2016年 花花. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HHCollectionView.h"
#import "HHScrollPageViewDelegate.h"
#import "HHScrollSegmentView.h"
#import "UIViewController+HHScrollPageController.h"
@interface HHContentView : UIView

@property(nonatomic, weak) id<HHScrollPageViewDelegate>delegate;

@property(nonatomic, strong,readonly)HHCollectionView *collectionView;

//初始化方法

- (instancetype)initWithFrame:(CGRect)frame segmentView:(HHScrollSegmentView *)segmentView parentViewController:(UIViewController *)parentViewController delegate:(id<HHScrollPageViewDelegate>)delegate;

//给外界可以设置ContentOffSet的方法
-(void)setContentOffSet:(CGPoint)offset animated:(BOOL)animated;

//给外界 重新加载内容的方法
- (void)reload;
@end
